<%@ include file="../common.jsp" %>


<form:hidden path="docId" name="docId"/>
<form:hidden path="version" name="version"/>
<tr>
		<td class="spacingColumnWidthLess"></td>
		<td class="formLabel"><label>Name</label></td>
		<td class="spacingColumnWidthLess"></td>
		<td class="formField">
			<form:input path="docName"  readonly="true" cssClass="text" ></form:input>
		</td>
		<td class="spacingColumnWidthMedium"></td>
		<td class="formLabel"><label>Type</label></td>
		<td class="spacingColumnWidthLess"></td>
		<td class="formField">
			<form:input path="docType" readonly="true"></form:input>
			 <%-- <form:select path="docTypeId" id="docTypeID">
				<form:option value="0">Choose Type</form:option>
					<c:forEach items="${docTypeMap}" var="item">
						<form:option value="${item.key}">${item.value}</form:option>
					</c:forEach>
			</form:select>  --%>
		</td>
		<td class="spacingColumnWidthLess"></td>
	</tr>
	<tr>
		<td class="spacingColumnWidthLess"></td>
		<td class="formLabel"></td>
		<td class="spacingColumnWidthLess"></td>
		<td class="formError">
			<form:errors path="docName" cssClass="errorMsg"></form:errors>
		</td>
		<td class="spacingColumnWidthMedium"></td>
		<td class="formLabel"></td>
		<td class="spacingColumnWidthLess"></td>
		<td class="formError">
			 <form:errors path="docTypeId" cssClass="text errorMsg"></form:errors> 
		</td>
		<td class="spacingColumnWidthLess"></td>
	</tr>
	<tr class="formSpacingRow formBlockColor"><td colspan="9"></td></tr>
	<tr>
		<td class="spacingColumnWidthLess" rowspan="4"></td>
		<td class="formLabel" rowspan="4">
			<label>Description</label>
		</td>
		<td class="spacingColumnWidthLess" rowspan="4"></td>
		<td class="formField" rowspan="4">
			<form:textarea path="docDesc" cols="30" rows="3"  readonly="true" cssClass="text"></form:textarea>
		</td>
		<td class="spacingColumnWidthMedium" rowspan="4"></td>
		<td class="formLabel"><label>Category</label> </td>
		<td class="spacingColumnWidthLess"></td>
		<td class="formField">
			<form:input path="docCategory" readonly="true"></form:input>
			<%-- <form:select path="docCategoryId" id="docCatID" ></form:select>  --%>
		</td>
		<td class="spacingColumnWidthLess"></td>
	</tr>
	<tr>
		<!-- <td class="spacingColumnWidthLess" ></td>
		<td class="formLabel"></td>
		<td class="spacingColumnWidthLess"></td>
		<td class="formError">
		</td>
		<td class="spacingColumnWidthMedium"></td> -->
		<td class="formLabel"></td>
		<td class="spacingColumnWidthLess"></td>
		<td class="formError">
			 <form:errors path="docCategoryId" cssClass="errorMsg"></form:errors> 
		</td>
		<td class="spacingColumnWidthLess"></td>
	</tr>
	<tr class="formSpacingRow formBlockColor"><td colspan="4"></td></tr>
	<tr>
		<td class="formLabel"><label>Sub-Category</label> </td>
		<td class="spacingColumnWidthLess"></td>
		<td class="formField">
			<form:input path="docSubCategory" readonly="true"></form:input>
<%-- 			<form:select path="docSubCategoryId" id="docSubCatID"/> --%>
		</td>
		<td class="spacingColumnWidthLess"></td>
	</tr>
	<tr>
		<td class="spacingColumnWidthLess"></td>
		<td class="formLabel"></td>
		<td class="spacingColumnWidthLess"></td>
		<td class="formError">
			<form:errors path="docDesc" cssClass="errorMsg"></form:errors>
		</td>
		<td class="spacingColumnWidthMedium"></td>
		<td class="formLabel"></td>
		<td class="spacingColumnWidthLess"></td>
		<td class="formError">
			 <form:errors path="docSubCategoryId" cssClass="errorMsg"></form:errors>
		</td>
		<td class="spacingColumnWidthLess"></td>
	</tr>
	<tr class="formSpacingRow formBlockColor"><td colspan="9"></td></tr>
<tr>
		<td class="spacingColumnWidthLess"></td>
		<td class="formLabel"><label>Issuing Authority</label></td>
		<td class="spacingColumnWidthLess"></td>
		<td class="formField">
			<form:textarea path="docIssuingAuthority" cols="30" rows="3" readonly="true" cssClass="text"></form:textarea>
		</td>
		<td class="spacingColumnWidthMedium"></td>
		<td class="formLabel"><label>Agreement Entered With</label></td>
		<td class="spacingColumnWidthLess"></td>
		<td class="formField">
			 <form:textarea path="docEnteredWith" cols="30" rows="3" readonly="true"  cssClass="text"/> 
		</td>
		<td class="spacingColumnWidthLess"></td>
	</tr>
<tr class="formSpacingRow formBlockColor"><td colspan="9"></td></tr>


<%-- 
<form:hidden path="docId" name="docId"/>
	<tr>
		<td>
			<label>Document Name</label>
		</td>
		<td class="spacingColumn"></td>
		<td><form:input path="docName" readonly="true" cssClass="text ui-widget-content ui-corner-all" onkeyup="textCounter(this.id,100);" ></form:input></td>
		<td class="spacingColumn"></td>
		<td>
			<label>Document Description</label>
		</td>
		<td class="spacingColumn"></td>
		<td colspan="5">
			<form:textarea path="docDesc" readonly="true" cssClass="text ui-widget-content ui-corner-all" cols="50" rows="2" onkeyup="textCounter(this.id,200);"></form:textarea>
		</td>
	</tr>
	<tr class="spacingRow"><td></td> </tr>
	<tr>
		<td><label> Document Type*</label></td>
		<td class="spacingColumn"></td>
		<td>
			<form:input path="docType" readonly="true" cssClass="text ui-widget-content ui-corner-all"></form:input>
		</td>
		<td class="spacingColumn"></td>
		<td><label>Document Category</label> </td>
		<td class="spacingColumn"></td>
		<td>
			<form:input path="docCategory" readonly="true" cssClass="text ui-widget-content ui-corner-all"></form:input>
			
		</td>
		<td class="spacingColumn"></td>
		<td><label>Document Sub-Category</label> </td>
		<td class="spacingColumn"></td>
		<td>
			<form:input path="docSubCategory" readonly="true" cssClass="text ui-widget-content ui-corner-all"></form:input>
		</td>
	</tr>

 --%>